﻿@model VideoCache.Server.MVCWeb.Areas.Member.Models.HomeModel

@{
    ViewBag.Title = "Index";
    Layout = "~/Areas/Member/Views/Shared/_Layout.cshtml";
}

<h2>管理中心</h2>

<div class="wrap">
<table width="100%">
    <tr>
        <td class="label">用户编号：</td>
        <td>@Model.UserInfo.Id</td>
        <td class="label">账号：</td>
        <td>@Model.UserInfo.UserName</td>
    </tr>
    <tr>
        <td class="label">账户余额：</td>
        <td>0</td>
        <td class="label">账户余额：</td>
        <td>0</td>
    </tr>
</table>
</div>

@if (Model.NetbarInfo != null)
{
<div class="wrap">
<table width="100%">
<tr>
    <td class="label">网吧编号：</td>
    <td>@Model.NetbarInfo.Id</td>
    <td class="label">账号：</td>
    <td>@Model.NetbarInfo.Name</td>
</tr>
</table>
</div>
}
else
{
    <div class="wrap">
        <h3>你还没有创建网吧资料，点<a href="#">这里</a>创建网吧</h3>
    </div>
}

@if (Model.NetbarInfo != null)
{
<div class="wrap">
<table width="100%">
<tr>
    <td class="label">代理商编号：</td>
    <td>@Model.AgentInfo.Id</td>
    <td class="label">账号：</td>
    <td>@Model.AgentInfo.Name</td>
</tr>
</table>
</div>
}